package com.shujia.service.impl;

import com.shujia.dao.DaoDemo;
import com.shujia.service.ServiceDemo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceDemoImpl2 implements ServiceDemo {
    @Override
    public String getServiceRes() {
        return "XXXX项目 第NO.n个需求对应返回逻辑2结果";
    }

    @Autowired
    DaoDemo daoDemo;

    @Override
    public String getDaoData() {
        return daoDemo.getMysqlData();
    }
}
